package com.burgeon.backend.SHOP.mappers;



import com.burgeon.backend.SHOP.entity.Complement;
import com.burgeon.backend.SHOP.entity.ComplementRecord;
import com.burgeon.backend.SHOP.entity.CouponType;
import com.burgeon.backend.SHOP.entity.couponGift.CouponGiftItem;
import com.burgeon.backend.SHOP.entity.couponGift.CouponGiftVO;

import java.util.ArrayList;
import java.util.List;

public interface AppComplementMapper {

    String getEmpAward(String token);

    String findAward(String id);

    String findVipRecord(String cid, String phone);

    List<String> findRecord(String phone);

    Integer addComplementRecord(ComplementRecord complementRecord);

    Integer addComplementSwitch(Complement complement);

    List<Complement> showComplementSwitch(String account);

    Integer delComplement(String id);

    //兑换用券
    List<CouponType> ConversionCoupon(String token);

    List<CouponGiftVO> showGiftConversion(String token);

    List<CouponGiftItem> findCoupon(String cid);

    CouponType findCouponData(String tid);

    List<CouponGiftItem> findCouponCid(String cid);
}
